home *** CD-ROM | disk | FTP | other *** search
-
-
- 0 rem* meltdown by d. n. price
- 1 rem*based on prog by s.r. berggren
- 2 rem*as modified by wim 3/30/82
- 3 rem*all rights assigned to public
- 4 rem*domain software inc., west milton
- 5 rem*ohio.
- 6 cr$=" "
- 9 bc=53280:sc=53281:lc=646:pokebc,12:pokesc,0:pokelc,5:goto40
- 10 poke198,0:b$="":print" ";:poke167,1
- 11 geta$:ifa$=""then11
- 12 z=asc(a$):ifz=94then15
- 13 ifz<48orz>57then11
- 14 printa$;:b$=b$+a$:iflen(b$)<3then11
- 15 poke167,0:print" ";:return
- 28 "pharoah's needle" prg
- 40 poke53272,23:r=rnd(-ti):bl$=" "
- 41 t1$=" SAN ANDREAS NUCLEAR POWER PLANT NO. 2 "
- 42 t2$="OPER:":t3$="STATUS REPORT, DAY":fortd=1to10
- 43 print""cr$"
- Meltdown!":fort=1to150:next:print""cr$"
- Meltdown!":fort=1to150:next
- 44 nexttd:print"
- "cr$spc(1)"at the
- ":printt1$:print"
-
- Original Game By S. R. Berggren
- 45 print"
- With modifications by Ivan & Hume Smith.
- 46 print"
-
- Other modifications by the staff of the
- 47 print"
- Bridgewater High School, Nova Scotia
- 48 print"
- Bill Munch and Dennis N. Price
- 49 input"
-
-
- Operator's Last Name";na$
- 50 iflen(na$)>8thenna$=left$(na$,8)
- 59 print"
-
- This program simulates the operation of"
- 60 print"
- a nuclear power reactor.";:gosub5300:print" The object"
- 70 print"
- is to operate the plant at as high a"
- 80 print"
- power output as possible";:gosub5300:print", without"
- 90 print"
- causing a reactor meltdown.":gosub5300
- 92 forz5=1to7:printtab(18)"meltdown":forz6=1to50:nextz6
- 94 printtab(18)"meltdown":forz6=1to50:nextz6,z5:gosub5310
- 100 input"Do you want instructions n";z$:ifz$="n"then352
- 102 ifz$<>"y"then100
- 110 print"The Control Rods regulate the amount of heat produced by the reactor.
- 112 print"The further the Control Rods are with- drawn the more heat is produced.
- 114 print"
- The Primary Coolant carries this heat
- 115 print"to the Heat Exchanger where the heat
- 116 print"causes the Secondary Coolant to turn
- 118 print"to steam. This steam spins the Turbine
- 120 print"which in turn drives the Generator and
- 122 print"thereby produces electricity.
- 124 print"
- The Secondary Coolant is then pumped to
- 126 print"the Cooling Tower where it is cooled
- 128 print"and condensed and then pumped back to
- 130 print"the Heat Exchanger to begin the cycle again.
- 180 print"
- The Emergency Coolant is used to shut
- 182 print"down the reactor, or if the temperature
- 183 print"of the reactor exceeds the maximum.":gosub5310
- 184 print"Unlike other coolants, the Emergency
- 185 print"Coolant is not recycled. This means
- 186 print"your supply of Emergency Coolant is verycritical.
- 192 print"
- An increased flow of primary coolant"
- 194 print"will lower the reactor core temperature"
- 196 print"and will raise the heat exchanger"
- 198 print"temperature."
- 200 print"
- An increased flow of secondary coolant"
- 202 print"will lower the heat exchanger tempera-
- 203 print"ture and will increase power production
- 204 print"but, it will also raise the temperature
- 205 print"of the cooling tower."
- 210 print"
- Successful operation depends on"
- 212 print"maintaining a careful balance between
- 213 print"the high temperatures needed for power
- 214 print"production and the thermal limits of
- 215 print"the equipment.":gosub5310
- 220 print"
-
-
-
- Enter D to see reactor diagram."
- 222 print"
- Enter I for operating instructions."
- 224 print"
- Enter S to start operation."
- 226 print"
- "tab(13);:input"s";a$:ifa$="d"thengosub16000:goto220
- 227 ifa$="s"then390
- 228 ifa$<>"i"then226
- 230 print"The controls are operated by typing in"
- 235 print"the desired control rod setting and the
- 240 print"flow rates of the different coolants.
- 241 print"
- Use settings from 0 to 100.
- 242 print"
- Press the ^ key after entering the
- 243 print"desired setting. If no change is to be
- 244 print"made, simply press the ^ key and the
- 245 print"previous setting will remain unchanged
- 246 print"and you will proceed to the next step."
- 255 print"
- After the desired entries have been
- 260 print"made, the next days conditions will be
- 265 print"calculated and displayed on the screen."
- 270 print"
- The power plant can be kept operating
- 272 print"until the fuel is exhausted or until a
- 274 print"meltdown occurs.
- 276 print"
- The reactor fuel will last about 100
- 278 print"to 150 days, depending on the amount of
- 280 print"energy produced.":gosub5310
- 290 print"When the reactor fuel is exhausted
- 295 print"your performance will be summarized.
- 300 print"
- If you desire to repair any leaks or
- 305 print"damage, bring the reactor temperature
- 310 print"below 100 and shut off all coolant
- 315 print"flows. This will cause an automatic
- 320 print"maintenance shutdown. All necessary
- 325 print"repairs will be made, all coolants will
- 330 print"be replenished. The appropriate repair
- 335 print"costs will be calculated and displayed.
- 340 print"
- The greater the damage, the longer any
- 345 print"repairs will take and therefore repair
- 346 print"costs will be higher."
- 347 print"
- When temperatures approach their maxi-
- 348 print"mums, they will flash several times to
- 349 print"warn you to watch them closely.":gosub5310
- 352 print""tab(13)"
-
-
-
-
- WARNING:"
- 355 printtab(7)"
-
- THIS POWER PLANT HAS"
- 360 printtab(3)"
-
- NO AUTOMATIC SAFETY DEVICES!!":z4=13:gosub5300
- 362 print"
-
-
- The Operator, "na$", is responsible
- 364 print"for the safe and efficient operation
- 366 print"of the reactor, in accordance with the
- 368 print"established procedures. Good Luck!
- 370 gosub5300:gosub5310:goto220
- 390 pokebc,12
- 400 gosub2000
- 410 rh=0:rl=0:tt=0:fl=100:rc=0
- 420 day%=0:d4%=0
- 430 qp%=1-(rnd(2)>.57)-(rnd(2)>.95)
- 440 qs%=1-(rnd(2)>.57)-(rnd(2)>.95)
- 442 rem qp%=quality of primary loop workmanship, qs%=same for secondary loop
- 444 rem 1 for first-class work, 2 for second-class, 3 for third-class
- 450 dmge%=0
- 455 a%=0:a1%=0:a2%=0
- 460 day%=day%+1:print"";:rem write report
- 462 ifrt%>800orxt%>500orct%>300orgz%>2000then480
- 464 ifgz%<1000and(day%-d4%>8)then480
- 466 ifev%<200orpv%<100orsv%<100then480
- 468 ifrd%>3orpd%>4orsd%>4ored%>2then480
- 470 ifpb%>0orsb%>0orxb%>0orgb%>0then480
- 472 goto700
- 480 gosub17000:printt1$
- 490 printt2$;spc(1);na$;spc(2);t3$;day%"
- "
- 500 print"WARNINGS:
- ":sw=1
- 510 ifrt%<800then520
- 512 print" Reactor overheated":rd%=rd%+1-(rt%>850)-(rt%>900)-2*(rt%>950)
- 514 pd%=pd%+1:ed%=ed%+1-(rt%>850):sw=2
- 520 ifxt%<500then530
- 522 print" Heat exchanger overheated"
- 524 xd%=xd%+1-(xt%>600):pd%=pd%+1:sd%=sd%+1:sw=2
- 530 ifgz%<2000then540
- 532 print" Turbine overloaded"
- 534 td%=td%+1-(gz%>2500):sd%=sd%+1:sw=2
- 540 ifct%>300thenprint" Cooling tower overheated":sd%=sd%+1:sw=2
- 550 ifgz%<1000thenprint" Power output low":sw=2
- 560 ifev%<200thenprint" Emergency coolant low":sw=2
- 570 ifpv%<100thenprint" Primary coolant low":pd%=pd%+1:sw=2
- 580 ifsv%<100thenprint" Secondary coolant low":sd%=sd%+1:sw=2
- 590 onswgoto600,610
- 600 printtab(11)"None"
- 610 print"
- DAMAGE:
- ":sw=1
- 620 ifrd%>3thenprint"reactor core damaged":sw=2
- 630 ifpd%<5then640
- 632 print"Primary coolant leak:";pd%;"L/day"
- 634 pv%=(pv%-pd%)*(-((pv%-pd%)>0)):sw=2
- 640 ifsd%<5then650
- 642 print"Secondary coolant leak:";sd%;"L/day"
- 644 sv%=(sv%-sd%)*(-((sv%-sd%)>0)):sw=2
- 650 ifed%<3then660
- 652 print"Emergency coolant leak:";2*ed%;"L/day"
- 654 ev%=(ev%-2*ed%)*(-((ev%-2*ed%)>0)):sw=2
- 660 ifpb%=0then670
- 662 print"Primary coolant pump failure:";
- 664 print10*pd%*(-(pd%<10))+100*(-(pd%>=10));"%":sw=2
- 670 ifsb%=0then680
- 672 print"Secondary coolant pump failure:";
- 674 print10*sd%*(-(sd%<10))+100*(-(sd%>=10));"%":sw=2
- 680 ifxb%>0thenprint"Heat exchanger failure":sw=2
- 690 ifgb%>0thenprint"Turbine failure":sw=2
- 692 onswgoto694,696
- 694 printtab(11)"None"
- 696 gosub5310
- 700 pokesc,15:print"":printt2$spc(1)na$spc(2)t3$day%
- 710 ifrd%>5then3000
- 722 printtab(6)"
- CONTROL ROD POSITION:"a%"%":print""
- 724 print"
- TEMPERATURES: MAX CHANGE NOW
- 730 print"Reactor Core.....800
- 732 printtab(25)""rt%-t7%:printtab(33)""rt%
- 734 t7%=rt%
- 740 print"Heat Exchanger...500
- 742 printtab(25)""xt%-t8%:printtab(33)""xt%
- 744 t8%=xt%
- 750 print"Cooling Tower....300
- 752 printtab(25)""ct%-t9%:printtab(33)""ct%
- 754 t9%=ct%
- 760 print"
- COOLANTS: Level Leakage Flow
- 762 kw%=tt/day%
- 770 print"Emergency........"tab(16)""ev%tab(22)""ed%"L/Day"tab(33)""ef%
- 780 print"Primary.........."tab(16)""pv%tab(22)""pd%"L/Day"tab(33)""pf%
- 790 print"Secondary........"tab(16)""sv%tab(22)""sd%"L/Day"tab(33)""sf%
- 810 print"
- PRODUCTION"
- 820 print"Power Output (MAX 2000 Kw):..."tab(30)gz%"Kw"
- 821 kw%=tt/day%
- 822 ve=int(24*tt*.07071):gp=ve-rc
- 833 rc$=str$(rc):ifrc<1000thenrc$="$"+rc$:goto835
- 834 rc$="$"+left$(rc$,len(rc$)-3)+","+right$(rc$,3)
- 835 print"Total Repair Costs:........."tab(29)rc$
- 838 ve$=str$(ve):ifve<1000thenve$="$"+ve$:goto840
- 839 ve$="$"+left$(ve$,len(ve$)-3)+","+right$(ve$,3)
- 840 print"Value of Power Produced:...."tab(29)ve$
- 845 print"Average Power Output:......."tab(30)kw%"Kw"
- 850 print:print:print"Percentage of fuel remaining = ";fl
- 851 ifrt%>775thengosub8000:goto852
- 852 ifxt%>475thengosub9000:goto853
- 853 ifct%>275thengosub9500:goto900
- 856 if(100-rl)<5thenprint"Reactor fuel exhausted":fort=1to5000:next:goto4000
- 900 rem get new control values
- 910 a2%=a1%:a1%=a%
- 920 poke214,23:print:printbl$
- 930 poke214,23:print:print"Control Rod Position?";:gosub10
- 940 ifb$=""then960
- 950 a%=val(b$):a%=a%+(100-a%)*(-(a%>100))
- 960 poke214,23:print:printbl$
- 970 poke214,23:print:print"Emergency Coolant Flow?";:gosub10
- 980 ifb$=""then1000
- 990 ef%=val(b$):ef%=ef%+(100-ef%)*(-(ef%>100))
- 1000 poke214,23:print:printbl$
- 1010 poke214,23:print:print"Primary Coolant Flow?";:gosub10
- 1020 ifb$=""then1040
- 1030 pf%=val(b$):pf%=pf%+(100-pf%)*(-(pf%>100))
- 1040 poke214,23:print:printbl$
- 1050 poke214,23:print:print"Secondary Coolant Flow?";:gosub10
- 1060 ifb$=""then1100
- 1070 sf%=val(b$):sf%=sf%+(100-sf%)*(-(sf%>100))
- 1100 ifpf%=0andsf%=0andrh<1andrt%<100anda%=0then1120
- 1110 goto1140
- 1120 gosub2000:poke214,23:print:printbl$
- 1122 poke214,23:print:print"Maintenance shutdown:"md%"days.":rc=rc+(md%*650)
- 1130 fori=1to5000:nexti
- 1140 ifef%>ev%thenef%=ev%
- 1200 rem damage assessment and operation calculations
- 1205 ev%=ev%-ef%+2*ed%*(ed%>3)
- 1210 onqp%goto1211,1213,1215:rem leakage probabilities
- 1211 pd%=pd%+(pf%>65)*(rnd(2)>.9998)+(pf%>90)*(rnd(2)>.996)
- 1212 pd%=pd%+(pf%>95)*(rnd(2)>.95)-(4000*rnd(2)<day%):goto1220
- 1213 pd%=pd%+(pf%>55)*(rnd(2)>.9995)+(pf%>80)*(rnd(2)>.993)
- 1214 pd%=pd%+(pf%>92)*(rnd(2)>.94)-(2700*rnd(2)<day%):goto1220
- 1215 pd%=pd%+(pf%>40)*(rnd(2)>.999)+(pf%>70)*(rnd(2)>.985)
- 1216 pd%=pd%+(pf%>87)*(rnd(2)>.93)-(1400*rnd(2)<day%)
- 1220 onqs%goto1221,1223,1225
- 1221 sd%=sd%+(sf%>75)*(rnd(2)>.9997)+(sf%>93)*(rnd(2)>.995)
- 1222 sd%=sd%+(sf%>97)*(rnd(2)>.94)-(3000*rnd(2)<day%):goto1230
- 1223 sd%=sd%+(sf%>60)*(rnd(2)>.9992)+(sf%>85)*(rnd(2)>.99)
- 1224 sd%=sd%+(sf%>94)*(rnd(2)>.92)-(2400*rnd(2)<day%):goto1230
- 1225 sd%=sd%+(sf%>40)*(rnd(2)>.9985)+(sf%>78)*(rnd(2)>.98)
- 1226 sd%=sd%+(sf%>89)*(rnd(2)>.9)-(1800*rnd(2)<day%)
- 1230 pb%=-(pd%>5)
- 1240 sb%=-(sd%>5)
- 1250 ifpf%>(100-pd%*10)andpb%>0thenpf%=(100-pd%*10)*(-(100-pd%*10>0))
- 1260 ifsf%>(100-sd%*10)andsb%>0thensf%=(100-sd%*10)*(-(100-sd%*10>0))
- 1270 rl=rl+rh/50
- 1275 fl=int(100-rl)
- 1280 rh=(a%*30+a1%*60+a2%*10)/2500*(100-rl)
- 1300 ph=pf%*(100*(-(pv%>100))+pv%*(-(pv%<=100)))/350
- 1310 eh=ef%/200*(rt%-25)
- 1320 rt%=rt%+rh-eh-ph-5*(-(rt%>25))
- 1325 rt%=25+(rt%-25)*(-(rt%>25))
- 1330 xt%=((rt%-25)*pf%+(ct%-25)*sf%)/(pf%+sf%+1)+25
- 1340 ifxb%>0thenxt%=rt%*.8+5
- 1350 sh=sf%*(100*(-(pv%>100))+pv%*(-(pv%<=100)))/350*(xt%-ct%)
- 1360 ifxb%>0thensh=sh*.2
- 1370 gz%=sh/xt%*(xt%-ct%)*2/3
- 1375 ifgz%>2600thengz%=2600
- 1380 gz%=gz%*(-(gz%>0))*(-(gb%=0))
- 1390 ct%=25+((xt%-25)*(sh-gz%)/(sh+1)*.75)
- 1395 ct%=25*(-(ct%<=25))+ct%*(-(ct%>25))
- 1400 ifxb%<1thenxb%=(-(xd%>2))*(-(rnd(4)>.9))
- 1410 ifgb%<1thengb%=(-(gd%>4))*(-(rnd(4)>.9))
- 1420 tt=tt+gz%
- 1430 goto460
- 2000 rem maintenance repair subroutine
- 2010 ev%=300:pv%=120:sv%=120
- 2020 qp%=1-(rnd(2)>.57)-(rnd(2)>.95)
- 2030 qs%=1-(rnd(2)>.57)-(rnd(2)>.95)
- 2040 rt%=25:t7%=25
- 2050 xt%=25:t8%=25
- 2060 ct%=25:t9%=25
- 2070 dmge%=dmge%+2*rd%+ed%+pd%+xd%+sd%+gd%
- 2080 md%=5+3*(10*(-(rd%>3))-(ed%>3)-(pd%>3)-(sd%>3)+2*pb%+2*sb%+3*xb%+3*gb%)
- 2082 day%=day%+md%:d4%=day%
- 2090 rd%=0
- 2100 ed%=0
- 2110 pd%=0
- 2120 xd%=0
- 2130 sd%=0
- 2140 gd%=0
- 2150 pb%=0
- 2160 sb%=0
- 2170 xb%=0
- 2180 gb%=0
- 2190 ef%=0:pf%=0:sf%=0
- 2195 gz%=0
- 2200 return
- 3000 ifrd%>6then3100
- 3001 forq=1to5:cd$="
-
-
-
-
-
-
-
-
-
-
-
- ":pokebc,2:pokesc,2:pokelc,7
- 3002 print"":printcd$tab(15)"!Meltdown!
- 3005 fort=1to400:next
- 3006 pokebc,7:pokesc,7:pokelc,2
- 3008 print"":printcd$tab(15)"!Meltdown!"
- 3011 fort=1to400:next:nextq
- 3015 print"":pokesc,0:pokebc,0:pokelc,13
- 3017 print"
- You are now in charge of a runaway
- 3018 print"reactor. Fuel melting prevents the in-
- 3019 print"sertion of control rods. Initiate your
- 3020 print"evacuation plan and notify local and
- 3021 print"federal disaster control agencies.
- 3022 print"
- Insure all retouched weld x-rays are
- 3023 print"removed and destroyed. Insure bogus
- 3024 print"certificates for operators and welders
- 3025 print"are also removed and destroyed prior to
- 3026 print"investigations by AEC and other regula-
- 3027 print"tory agencies.
- 3028 print"
- Prepare and submit rate hike request to
- 3029 print"Public Utilities Commission to pay for
- 3030 print"repairs to buildings, equipment and for
- 3031 print"travel expenses to next convention in
- 3032 print"Las Vegas.":goto5005
- 3100 forq=1to5:cd$="
-
-
-
-
-
-
-
-
-
-
-
- "
- 3101 pokebc,2:pokesc,2:pokelc,7
- 3102 print""cd$tab(15)"!Meltdown!
- 3104 fort=1to400:next
- 3106 pokebc,7:pokesc,7:pokelc,2
- 3108 print""cd$tab(15)"!Meltdown!"
- 3110 fort=1to400:next:nextq
- 3111 pokebc,0:pokesc,0:pokelc,14
- 3112 print"":print"
- The feared 'China Syndrome' is now
- 3114 print"underway. Excessive heat from the re-
- 3116 print"actor core has ruptured primary coolant
- 3118 print"lines, causing a steam explosion.
- 3120 print"
- The containment building has been
- 3122 print"breached and lethal clouds of radio-
- 3124 print"active gasses are pouring into the
- 3126 print"atmosphere. Initial estimates indicate
- 3128 print"a minimum of 500 square miles will be
- 3130 print"contaminated for at least 300 years.
- 3132 print"
- Immediately contact your stockbroker
- 3134 print"to sell all nuclear power stock and to
- 3136 print"buy all available coal mining shares.
- 3270 poke214,21:print:goto5005
- 4000 rem evaluation of game
- 4001 pokebc,0:pokesc,0:pokelc,5
- 4002 print"
-
- OPERATOR PERFORMANCE REVIEW"
- 4003 print:print:print" OPERATOR'S NAME:";spc(3) na$:print:print
- 4005 print" Over a period of "da%" days, you have"
- 4010 print"produced an average power output of "
- 4015 print""kw%"kW.";
- 4016 print" at a value of ";ve$;"."
- 4020 ak%=1-(kw%>799)-(kw%>899)-(kw%>999)-(kw%>1099)-(kw%>1199)-(kw%>1299)
- 4022 ak%=ak%-(kw%>1399)-(kw%>1499)
- 4025 print"
- Your average power production rate is "
- 4030 onak%goto4032,4034,4036,4038,4040,4042,4044,4050,4055
- 4032 print"horrible! Find a less demanding job.":goto4060
- 4034 print"bad. Your area had":print"frequent blackouts.":goto4060
- 4036 print"pretty bad. Your area had":print"occasional blackouts.":goto4060
- 4038 print"way below your area's power needs.":goto4060
- 4040 print"not good. Your area had brownouts.":goto4060
- 4042 print"not bad. Your area's power needs"
- 4043 print"were supplied - just.":goto4060
- 4044 print"adequate. You could do better.":goto4060
- 4050 print"exellent! Power rates in your area will"
- 4051 print"not be increased.":goto4060
- 4055 print"near the maximum! Power costs in your"
- 4056 print"area will drop significantly."
- 4060 gosub2000
- 4065 d%=1-(dm%>10)-(dm%>20)-(dm%>30)
- 4070 print"
- The equipment damage sustained was"
- 4075 ond%goto4080,4085,4090,4095
- 4080 print"very light.":goto4096
- 4085 print"moderate.":goto4096
- 4090 print"serious.":goto4096
- 4095 print"severe."
- 4096 print"Total repair costs were ";rc$
- 5000 gp$=str$(gp):ifgp<1000thengp$="$"+gp$:goto5002
- 5001 gp$="$"+left$(gp$,len(gp$)-3)+","+right$(gp$,3)
- 5002 print"This resulted in a total of "gp$" in gross profits.
- 5005 print:print:input"Play Again (Yes or No)";a$:a$=left$(a$,1)
- 5010 ifa$<>"y"thenend
- 5015 gosub2000:goto390
- 5100 b$=""
- 5105 fori=1to4
- 5110 geta$
- 5130 ifasc(a$)<>94then5140
- 5134 ifb$=""thenreturn
- 5136 out%=val(b$)
- 5138 return
- 5140 rem pet only * ifasc(a$)=13thensys50583:goto1170
- 5150 b$=b$+a$
- 5160 printa$;
- 5170 nexti
- 5180 return
- 5300 forj6=1to63*z4:nextj6:z4=z4+3:return:rem delay
- 5310 poke214,23:print:print" Press SPACE to continue...";
- 5311 poke214,23:wait198,1:print:printbl$;:getzz$:return
- 8000 rem*core temp warning*
- 8005 forq=1to15
- 8010 print"
-
-
-
-
-
-
- 8015 print"Reactor Core.....800
- 8020 fort=1to175:next
- 8025 print"
-
-
-
-
-
-
- 8030 print"Reactor Core.....800
- 8035 fort=1to175:next
- 8040 nextq
- 8045 print"
-
-
-
-
-
-
- 8050 print"Reactor Core.....800
- 8055 return
- 9000 rem*heat exch warning
- 9005 forq=1to15
- 9010 print"
-
-
-
-
-
-
-
- 9015 print"Heat Exchanger...500
- 9020 fort=1to175:next
- 9025 print"
-
-
-
-
-
-
-
- 9030 print"Heat Exchanger...500
- 9035 fort=1to175:next
- 9040 nextq
- 9045 print"
-
-
-
-
-
-
-
- 9050 print"Heat Exchanger...500
- 9055 return
- 9500 rem*cooling tower warning*
- 9505 forq=1to15
- 9510 print"
-
-
-
-
-
-
-
-
- 9515 print"Cooling Tower....300
- 9520 fort=1to175:next
- 9525 print"
-
-
-
-
-
-
-
-
- 9530 print"Cooling Tower....300
- 9535 fort=1to175:next
- 9540 nextq
- 9545 print"
-
-
-
-
-
-
-
-
- 9550 print"Cooling Tower....300
- 9555 return
- 16000 zd$="
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- "
- 16005 print"":printzd$"This is the reactor vessel "
- 16010 print"
-
-
-
- "
- 16015 print" "
- 16020 forzz=1to4:print" ":next
- 16025 print" "
- 16030 print" "
- 16035 print" "
- 16040 z4=11:gosub5300:gosub5310
- 16050 printzd$"This is the core "
- 16055 print"
-
-
-
-
-
- "
- 16060 forzz=1to3:print" ":next
- 16065 gosub5300:gosub5310
- 16070 printzd$"This is the emergency coolant "
- 16075 print"
-
-
- "
- 16080 print" "
- 16085 print" "
- 16086 print" "
- 16090 print" "
- 16095 print"
- "
- 16096 print" "
- 16097 forzz=1to3:print" ":next
- 16100 gosub5300:gosub5310
- 16105 printzd$"These are the control rods "
- 16110 print"
-
- "tab(5)""
- 16115 printtab(5)""
- 16120 printtab(5)""
- 16125 printtab(5)""
- 16126 printtab(5)""
- 16130 z4=11:gosub5300:gosub5310
- 16135 printzd$"This is the primary coolant loop "
- 16140 print"
-
-
- "tab(12)""
- 16150 printtab(12)""
- 16155 printtab(13)""
- 16156 printtab(13)""
- 16160 printtab(8)" "
- 16165 printtab(15)""
- 16170 printtab(8)" "
- 16175 gosub5300:gosub5310
- 16180 printzd$"This is the heat exchanger "
- 16185 print"
-
-
-
-
-
- "tab(14)""
- 16190 printtab(14)" "
- 16195 printtab(14)" "
- 16200 printtab(14)" "
- 16205 printtab(14)""
- 16210 z4=11:gosub5300:gosub5310
- 16220 printzd$"This is the secondary coolant loop "
- 16225 print"
-
-
- "tab(17)""
- 16230 printtab(17)""
- 16235 printtab(18)"
- 16236 printtab(18)"
- 16240 printtab(16)""
- 16250 printtab(16)""tab(33)""
- 16255 printtab(16)""tab(33)""
- 16260 printtab(18)""tab(33)""
- 16265 printtab(18)""tab(33)""
- 16270 printtab(33)""
- 16271 printtab(33)""
- 16275 printtab(33)""
- 16280 printtab(21)""tab(33)""
- 16281 printtab(21)""
- 16285 gosub5300:gosub5310
- 16290 printzd$"This is the turbine "
- 16295 print"
-
-
-
-
-
-
-
-
-
-
-
- "tab(17)""
- 16300 printtab(17)""
- 16305 printtab(17)""
- 16310 printtab(17)""
- 16315 gosub5300:gosub5310
- 16320 printzd$"This is the electric generator "
- 16325 print"
-
-
-
-
-
-
-
-
-
-
-
- "tab(10)""
- 16330 printtab(10)" "
- 16335 printtab(10)""
- 16340 printtab(10)""
- 16345 z4=11:gosub5300:gosub5310
- 16350 printzd$"This is the cooling tower "
- 16355 print"
-
-
-
-
-
-
-
-
- "tab(24)""tab(31)""
- 16360 printtab(24)""tab(30)""
- 16365 printtab(25)""tab(29)""
- 16370 printtab(26)""tab(29)""
- 16371 printtab(26)""tab(29)""
- 16372 printtab(26)""tab(29)""
- 16375 printtab(25)""tab(29)""
- 16380 printtab(25)" "
- 16385 gosub5300:gosub5310
- 16390 printzd$"This is the complete diagram. "
- 16395 gosub5310:print"":poke53272,23:return
- 17000 return
-
-
-
-